package com.allen.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author dragon1006xu@gmail.com
 * @create 2022/2/24 13:35
 */
@RestController
public class Controller01 {
    @RequestMapping("/hello")
    public String sayHi() {
        System.out.println("Hello world!");
        return "success";
    }
}
